home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 22
/
Aminet 22 (1997)(GTI - Schatztruhe)[!][Dec 1997].iso
/
Aminet
/
game
/
patch
/
InstallKit2_2.lha
/
ikit2.2
/
Install
< prev
next >
Wrap
Text File
|
1980-01-03
|
15KB
|
617 lines
;
; Install Kit Installation by Andreas Falkenhahn 1997
;
; If you`ve problems editing or using this installer script, e-mail me:
; softwarefailure@dame.de
;
; August 26th, 1997
;
(set #ver "2.2")
(message (cat "\n\nInstall Kit V" #ver "\n\n(c) 1996/97 by\n\nAndreas Falkenhahn"
"\n\nThe ultimate CD32 Games Emulator\n\n&\n\nInstaller"
)
)
(set #lang "Please select the language, you wanna use during the installation.")
; Ask
(set whatdo (askchoice
(prompt #lang)
(help "Select language")
(choices
"Deutsch"
"English"
)
))
(if (= whatdo 0) (
(set #welcome (cat "\n"
"Willkommen zum Installationsprogramm für das\n\nInstall Kit"
"\n\nDieses Programm installiert Ihnen das komplette Install Kit"
"\noder nur einzelne Teile daraus auf Ihre Festplatte.\n\n"
"Das Install Kit Paket ist Shareware und kostet 20 DM.\n"
"Viele Funktionen sind nur eingeschränkt bzw. gar nicht nutzbar. "
)
)
(set #assign (cat "\n"
"Es müssen 2 Zeilen in Ihre User-Startup eingefügt werden!"
"\n\nAssign InstallKit: <InstallKit Zielverzeichnis>"
"\nAssign Kit: <InstallKit Zielverzeichnis>"
))
(set #whereinstall "Suchen Sie bitte den Zielpfad für das Install Kit aus! (eine Schublade mit dem Namen InstallKit wird angelegt)")
(set #libcopy "Kopiere reqtools.library nach libs:...")
(set #libcopy1 "Kopiere lowlevel.library nach libs:...")
(set #libcopy2 "Kopiere freeanim.library nach libs:...")
(set #help (cat "\n"
"Install Kit Installation (c) A. Falkenhahn 1997\n"
"===============================================\n\n"
"Folgende Dinge sollten Sie beachten:\n\n"
"1) Ich übernehme keinerlei Haftung für irgendwelche\n"
" Schäden, die das Install Kit verursacht hat.\n\n"
"2) Wenn Sie das Install Kit installieren & nutzen\n"
" lassen Sie sich bitte registrieren.\n\n"
"Infos zu den einzelnen Installationsschritten:\n\n"
"1) Suchen Sie das Verzeichnis aus, in dem das\n"
" InstallKit Verzeichnis erstellt werden soll.\n"
" alle Dateien werden in das Verzeichnis kopiert.\n"
" Außer einige Tools und Dokumentationen, für\n"
" diese können Sie dann Extra Verzeichnisse\n"
" aussuchen.\n\n"
"2) Suchen Sie nun die Sprache für die Dokumentation\n"
" und das Install Kit aus.\n\n"
"3) Wählen Sie, ob Sie Userinstaller installiert\n"
" haben wollen.\n\n"
"4) Wählen Sie, ob Sie Developermaterial installiert\n"
" haben wollen.\n\n"
"5) Wählen Sie, ob Sie Bonusprogramme installiert\n"
" haben wollen.\n\n"
"6) Wenn ja, welche.\n\n"
"7) Wählen Sie, ob ScriptCopy extern installiert werden\n"
" soll.\n\n"
"8) Wählen Sie, ob das Cheat+Info Guide installiert werden\n"
" soll.\n\n"
"9) Wählen Sie, ob der Original Install Kit Bildschirmschoner\n"
" installiert werden soll.\n\n"
))
(set #diskisfull "Auf diesem Laufwerk ist leider nicht genug Platz!")
(set #language "Bitte suchen Sie die Sprache für die AmigaGuide® Dokumentation aus!")
(set #catalog "Bitte suchen Sie die Sprache für das Install Kit aus!")
(set #where "Wohin soll die AmigaGuide® Dokumentation kopiert werden?")
(set #ques1 (cat "\n"
"Möchten Sie einige Demo-Userinstaller installiert haben"
"\n(nur nützlich für die registrierte Version) ?"
"\n\nHinweis: Userinstaller sind Installskripts, die mit dem"
"\nInstaller Editor erstellt worden sind. Initalisiert und"
"\nerstellt können Sie nur mit der registrierten Version."
))
(set #ques2 "Möchten Sie Bonusprogramme installieren?")
(set #ques3 "Soll das Developer Material installiert werden?")
(set #where1 "Wohin sollen die Bonusprogramme kopiert werden?")
(set #where2 "Wohin soll das Developer Material kopiert werden?")
(set #which "Welche Bonusprogramme sollen installiert werden?")
(set #ques4 "Soll das Cheat+Info Guide mitinstalliert werden?")
(set #ques5 "Soll ScriptCopy extern installiert werden?")
(set #where3 "Wohin soll ScriptCopy kopiert werden?")
(set #ques6 "Soll der Original Install Kit Bildschirmschoner installiert werden?")
(set #where4 "Wohin soll der Bildschirmschoner kopiert werden?")
(set #where5 "Wohin soll das Bildschirmschoner Prefsfile kopiert werden?")
(set #ja "Ja")
(set #no "Nein")
(set #te "Test")
(set #install1 (cat "\n"
"Bitte warten - das Install Kit wird nun auf Ihrem System installiert!"
"\n\nBitte unterstützen Sie die Shareware Idee, und lassen Sie sich"
"\nregistrieren. Die Registrierung kostet 20 DM oder 10 Euros :-)"
"\n\nBitte senden Sie das Geld mit dem ausgefüllten Registrationsformular an:"
"\n\nAndreas Falkenhahn\nAn der Trift 2\n36132 Eiterfeld-Arzell\n\nDEUTSCHLAND"
)
)
(set #copy "kopieren")
(set #ncopy "nicht kopieren")
))
(if (= whatdo 1) (
(set #libcopy "Copying reqtools.library to libs:...")
(set #libcopy1 "Copying lowlevel.library to libs:...")
(set #libcopy2 "Copying freeanim.library to libs:...")
(set #assign (cat "\n"
"Two assigns must be added to your S:User-Startup!"
"\n\nAssign InstallKit: <your destination>"
"\nAssign Kit: <your destination>"
))
(set #install1 (cat "\n"
"Please wait - the Install Kit is installing..."
"\n\nPlease support the Shareware idea and register yourself!"
"\nRegistering costs 20 DM or $15."
"\n\nPlease send the cash with the filled in Regform to:"
"\n\nAndreas Falkenhahn\nAn der Trift 2\n36132 Eiterfeld-Arzell\nGERMANY"
))
(set #welcome (cat "\n"
"Welcome to the installerprogram for the\n\nInstall Kit"
"\n\nThis program installs the complete Install Kit"
"\n or only parts of it to your Harddisk.\n\n"
"The Install Kit package is Shareware and costs $15US.\n"
"Many options are disabled."
)
)
(set #whereinstall "Select destination path (a drawer called InstallKit will be created there)")
(set #whereinstall_help (cat "\n"
"No help available!"
))
(set #diskisfull "Not enough free space on this drive!")
(set #language "Please select language for the AmigaGuide® Documentation!")
(set #catalog "Please select language for the Install Kit!")
(set #where "Where shall the AmigaGuide® documentation be copied?")
(set #ques1 "Shall I install some Demo-Userinstaller (only usable for registered versions) ?")
(set #ques2 "Shall I install some bonus programs?")
(set #ques3 "Shall I install the Developer material?")
(set #where1 "Where shall the bonus programs be copied to?")
(set #where2 "Where shall the developer material be copied to?")
(set #which "Which bonus programs shall be copied?")
(set #ques4 "Shall I install the Cheat+Info guide?")
(set #ques5 "Shall I install ScriptCopy external?")
(set #where3 "Where shall ScriptCopy be copied to?")
(set #ques6 "Shall I install the original Install Kit Screenblanker?")
(set #where4 "Where shall the screen blanker be copied to?")
(set #where5 "Where shall the screen blanker prefs be copied to?")
(set #ja "Yes")
(set #no "No")
(set #te "Test")
(set #copy "copy")
(set #ncopy "don`t copy")
))
(message #welcome)
(welcome)
(complete 10)
(set name
(askdir
(prompt #whereinstall)
(help #help)
(default "SYS:")
)
)
(complete 15)
(if (< (getdiskspace name) 800000)
(abort #diskisfull)
)
(complete 20)
(copyfiles
(source "/IKit2.2.info")
(dest name)
(nogauge)
)
(complete 25)
(set sstr (substr name (- (strlen name) 1) 1))
(if (or (= sstr "/") (= sstr ":")) (set dname (cat name "IKit2.2")) (set dname (cat name "/IKit2.2")))
(set sstr (substr dname (- (strlen dname) 1) 1))
(if (or (= sstr "/") (= sstr ":")) (set doname (cat dname "Docs")) (set doname (cat dname "/Docs")))
(set sstr (substr dname (- (strlen dname) 1) 1))
(if (or (= sstr "/") (= sstr ":")) (set dirname (cat dname "Bonus")) (set dirname (cat dname "/Bonus")))
(set sstr (substr dname (- (strlen dname) 1) 1))
(if (or (= sstr "/") (= sstr ":")) (set diname (cat dname "Daten")) (set diname (cat dname "/Daten")))
(working #install1)
(copyfiles
(source "kit")
(dest dname)
(nogauge)
)
(complete 30)
(copyfiles
(source "InstallKit")
(dest dname)
(nogauge)
)
(complete 32)
(copyfiles
(source "InstallKit.info")
(dest dname)
(nogauge)
)
(complete 35)
(MakeAssign "doc1" dname)
(MakeDir "doc1:Daten")
(MakeDir "doc1:Daten/Data")
(complete 40)
(copyfiles
(source "Daten/Data")
(dest "doc1:Daten/Data")
(nogauge)
(all)
)
(complete 45)
(MakeDir "doc1:Docs")
(complete 50)
(copyfiles
(source "Docs.info")
(dest dname)
(nogauge)
)
(complete 55)
(set langu1 (askchoice
(prompt #language)
(help "No help")
(choices
"deutsch"
"english"
)
))
(set doc (askdir
(prompt #where)
(help "No help")
(default doname)
))
(complete 60)
(if (= langu1 0) (
(working #install1)
(copyfiles
(source "Docs/InstallKit_deutsch.guide")
(dest doc)
(nogauge)
)
(copyfiles
(source "Docs/InstallKit_deutsch.guide.info")
(dest doc)
(nogauge)
)
))
(if (= langu1 1) (
(working #install1)
(copyfiles
(source "Docs/InstallKit_english.guide")
(dest doc)
(nogauge)
)
(copyfiles
(source "Docs/InstallKit_english.guide.info")
(dest doc)
(nogauge)
)
))
(complete 65)
(if (= langu1 2) (
(working #install1)
(copyfiles
(source "Docs/InstallKit_nederlands.gui")
(dest doc)
(nogauge)
)
(copyfiles
(source "Docs/InstallKit_nederlands.gui.info")
(dest doc)
(nogauge)
)
))
(if (= langu1 3) (
(working #install1)
(copyfiles
(source "Docs/InstallKit_srpski.guide")
(dest doc)
(nogauge)
)
(copyfiles
(source "Docs/InstallKit_srpski.guide.info")
(dest doc)
(nogauge)
)
))
(if (= langu1 4) (
(working #install1)
(copyfiles
(source "Docs/InstallKit_finnish.guide")
(dest doc)
(nogauge)
)
(copyfiles
(source "Docs/InstallKit_finnish.guide.info")
(dest doc)
(nogauge)
)
))
(complete 70)
(if (= 1 (askbool (prompt #ques1) (help "No help")))
(
(
(working #install1)
(MakeDir "doc1:Daten/User")
(copyfiles
(source "Daten/User")
(dest "doc1:Daten/User")
(nogauge)
(all)
)
))
)
(if (= 1 (askbool (prompt #ques2) (help "No help")))
(
(
(makedir "doc1:Bonus")
(copyfiles
(source "Bonus.info")
(dest dname)
(nogauge)
)
(set bdir
(askdir
(prompt #where1)
(help "No help")
(default dirname)
))
(working #install1)
(makedir "T:Kit")
(copyfiles
(source "Bonus/CD32Boot")
(dest "T:Kit")
(nogauge)
)
(copyfiles
(source "Bonus/CD32Boot.info")
(dest "T:Kit")
(nogauge)
)
(copyfiles
(source "Bonus/ChangeIcons")
(dest "T:Kit")
(nogauge)
)
(copyfiles
(source "Bonus/ChangeIcons.info")
(dest "T:Kit")
(nogauge)
)
(copyfiles
(source "Bonus/Installer2Disk")
(dest "T:Kit")
(nogauge)
)
(copyfiles
(source "Bonus/Installer2Disk.info")
(dest "T:Kit")
(nogauge)
)
(copyfiles
(source "Bonus/Disk2Installer.info")
(dest "T:Kit")
(nogauge)
)
(copyfiles
(source "Bonus/De-InstallKit.info")
(dest "T:Kit")
(nogauge)
)
(copyfiles
(source "Bonus/Disk2Installer")
(dest "T:Kit")
(nogauge)
)
(copyfiles
(source "Bonus/De-InstallKit")
(dest "T:Kit")
(nogauge)
)
(
(copyfiles (prompt #which)
(help "No help")
(source "T:Kit")
(dest bdir)
(optional "nofail")
(confirm "average")
(files)
(infos)
(all)
)
))))
(complete 80)
(if (= 1 (askbool (prompt #ques5) (help "No help")))
(
(
(set sc (askdir
(prompt #where3)
(help "No help")
(default "C:")
))
(copyfiles
(source "Daten/Data/ScriptCopy")
(dest sc)
(nogauge)
)
)))
(complete 85)
(if (= 1 (askbool (prompt #ques6) (help "No help")))
(
(
(set sb (askdir
(prompt #where4)
(help "No help")
(default "Sys:WBStartup")
))
(copyfiles
(source "Bonus/Blanker/InstallKit_Blanker")
(dest sb)
(infos)
(nogauge)
)
(set sbp (askdir
(prompt #where5)
(help "No help")
(default "Sys:Prefs")
))
(copyfiles
(source "Bonus/Blanker/InstallKit_BlankerPrefs")
(dest sbp)
(infos)
(nogauge)
)
)))
(complete 90)
(copylib
(prompt #libcopy)
(help "no help")
(source "libs/reqtools.library")
(dest "LIBS:")
(optional force askuser)
(confirm)
)
(complete 92)
(copylib
(prompt #libcopy1)
(help "No help")
(source "libs/lowlevel.library")
(dest "LIBS:")
(optional force askuser)
(confirm)
)
(complete 94)
(copylib
(prompt #libcopy2)
(help "No help")
(source "libs/freeanim.library")
(dest "LIBS:")
(optional force askuser)
(confirm)
)
(complete 95)
(copyfiles
(source "daten/data/REST")
(dest "C:")
(nogauge)
)
(complete 96)
(copyfiles
(source "daten/data/RSTStart")
(dest "C:")
(nogauge)
)
(complete 97)
(copyfiles
(source "devs/RSTMountlist")
(dest "devs:")
(nogauge)
)
(complete 98)
(copyfiles
(source "devs/InstallKitMountlist")
(dest "devs:")
(nogauge)
)
(complete 99)
(startup (prompt #assign) (help "No help")
"InstallKit"
(command (cat "\n"
"Assign InstallKit: " dname "\n"
"Assign Kit: " diname
)
))
(complete 100)
(exit)